package com.gnerv.business.platform.web;

import com.gnerv.business.platform.common.response.R;

/**
 * @description: 通用前端控制器
 * @author: Gnerv LiGen
 * @date: 2018-07-05
 **/
public interface BaseController<T> {

    R create(T t);

    R delete(String tId);

    R update(T t);

    R select(String tId);

    R list(T t);
}
